<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,user-scalable=no">
    <meta name="keywords" content="xx,xx,xx" />
    <meta name="description" content="yyyyyyy" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta property="qc:admins" content="70003766576320416375" />
    <meta name="format-detection" content="telephone=no">
    <title>钱包</title>
    <link rel="stylesheet" href="../css/base/jquery-ui-1.10.3.css" type="text/css">
    <link rel="stylesheet" href="../plugin/bootstrap-3.3.7/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="../css/job.css">
    <link rel="stylesheet" href="../css/wallet.css">
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>
<body style="background: #f1f1f1">
<div class="container-fluid" style="background-color: #f7f7f9">
    <!--header start-->
    <div class="row header">
      <div><span id="back" class="glyphicon  glyphicon-chevron-left" style="float: left;cursor: pointer;"></span>钱包</div>
    </div>
        <!--header end-->

    <!--content start-->
    <div class="row content" style="height: 40px">
        <div class="show-box">
            <h5>账户余额</h5>
            <h5><span></span><small  class="badge">皇币</small></h5>
            <h5 style="position: relative">
                <a class="btn btn-button" id="sign-up" href="withdraw-to-alipay.html">立即提现</a>
            </h5>
        </div>
        <div class="content-bottom">
            <a href="shopping-mall-second.html">
                <div class="box">
                    <img src="../images/Shopping-Mall.png">
                    <div class="box-content">
                        <h5>森淼商城<em style="float: right;color:#22d673"><b class="glyphicon glyphicon-chevron-right"></b></em></h5>
                    </div>
                </div>
            </a>
            <!--<a href="bank-card.html">-->
                <!--<div class="box">-->
                    <!--<img src="../images/card.png">-->
                    <!--<div class="box-content">-->
                        <!--<h5>银行卡<em style="float: right;color:#22d673"><b class="glyphicon glyphicon-chevron-right"></b></em></h5>-->
                    <!--</div>-->
                <!--</div>-->
            <!--</a>-->
        </div>
        <div class="hide-box">
           <h5 class="glyphicon  glyphicon-heart-empty"></h5>
            <h5>你的皇币为零</h5>
            <h5 style="color: #b1b1b3;">赶快去赚取吧</h5>
        </div>
    </div>

    <!--content end-->
</div>
</body>
<script src="../js/common/jquery-2.1.4.min.js"></script>
<scriptg src="../js/index.js"></scriptg>
<script src="../plugin/bootstrap-3.3.7/dist/js/bootstrap.min.js"></script>
<script src="../js/common/common.js"></script>
<script>
$(function(){


    var url = server + '/server/wallet/home.json';
    $.post(url,function (data) {

        var money  = data.data.amount;
        $('.show-box span').text(money)  ;

        if( money.valueOf()==0){
            $('.hide-box').css('display','block');
        }
        else{
            $('.hide-box').css('display','none');
        }
    });


});
</script>
</html>